$OpenBSD: patch-spectrwm_c,v 1.7 2016/05/04 13:56:26 gonzalo Exp $
--- spectrwm.c.orig	Tue May  3 12:54:28 2016
+++ spectrwm.c	Tue May  3 12:56:02 2016
@@ -274,7 +274,7 @@ uint32_t		swm_debug = 0
 #define SWM_CONF_KEYMAPPING	(1)
 
 #ifndef SWM_LIB
-#define SWM_LIB			"/usr/local/lib/libswmhack.so"
+#define SWM_LIB			"${PREFIX}/lib/libswmhack.so"
 #endif
 
 char			**start_argv;
